updating oE db_table_size
db_table_size
include eds.e namespace eds public function db_table_size(object table_name = current_table_name)
gets the size (number of records) of the default table.
Parameters:
- table_name : optional table name to get the size of.
Returns An integer, the current number of records in the current table. If a value less than zero is returned, it means that an error occured.
Errors:
If the current table is undefined, an error will occur.
Example 1:
-- look at all records in the current table for i = 1 to db_table_size() do if db_record_key(i) = 0 then puts(1, "0 key found\n") exit end if end for
See Also:
Not Categorized, Please Help
|